package com.example.springmvc.exception;

import com.example.springmvc.common.ResultCode;

/**
 * 操作权限异常
 *
 * @author 凡行
 */
public class AuthorizationException extends BusinessException {

    public AuthorizationException(String message) {
        super(ResultCode.REQUEST_FORBIDDEN.getCode(), message);
    }

    public AuthorizationException() {
        super(ResultCode.REQUEST_FORBIDDEN.getCode(), ResultCode.REQUEST_FORBIDDEN.getMsg());
    }

}
